/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package horizon.gui;

import PacketHandling.PacketHandler;
import horizon.gui.component.GuiImageLabel;
import horizon.gui.component.GuiLoadingBar;
import horizon.states.State;
import horizon.util.ExpandedColor;
import horizon.util.Vector2;
import java.awt.Color;
/**
 *
 * @author J_Laptop
 */
public class LoadingScreenGui extends GuiOverlay{

    public GuiImageLabel background;
    public GuiLoadingBar loading;
    
    public LoadingScreenGui(State owner) {
        super(owner);
        
        
        
        background = new GuiImageLabel("background" ,  "loading" , new Vector2(0, 0), new Vector2(0));
        loading = new GuiLoadingBar("loading" , new Vector2(304 , 630) , new Vector2(413 , 39) , ExpandedColor.transGray , Color.gray , Color.BLUE);
        
        loading.setMax(0);
        loading.setCur(0);
        
        this.addComponent(background);
        this.addComponent(loading);
        
        
    }
    
}
